package com.android.huimeiqupin.model.member;

import java.util.List;

/**
 * Created by Administrator on 2017/3/14.
 */

public class CashData {


    /**
     * data : {"list":[{"id":"2","mid":"1","username":"test01","ivt_mid":"2","ivt_username":"test02","order_id":"1191","total":"138.00","commission":"5.00","desc":"邀请会员[test02]下单(订单号2017031471015657、商品ID463),获得5元佣金(分销佣金)","addtime":"2017-03-14 11:03:33"}],"list_total":1,"commission_total":"5.00"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1489462056
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        public String getCommission() {
            return commission;
        }

        public void setCommission(String commission) {
            this.commission = commission;
        }

        /**
         * list : [{"id":"2","mid":"1","username":"test01","ivt_mid":"2","ivt_username":"test02","order_id":"1191","total":"138.00","commission":"5.00","desc":"邀请会员[test02]下单(订单号2017031471015657、商品ID463),获得5元佣金(分销佣金)","addtime":"2017-03-14 11:03:33"}]
         * list_total : 1
         * commission_total : 5.00
         */

        private int list_total;
        private String commission;
        private String commission_total;
        private List<ListBean> list;

        public int getList_total() {
            return list_total;
        }

        public void setList_total(int list_total) {
            this.list_total = list_total;
        }

        public String getCommission_total() {
            return commission_total;
        }

        public void setCommission_total(String commission_total) {
            this.commission_total = commission_total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 2
             * mid : 1
             * username : test01
             * ivt_mid : 2
             * ivt_username : test02
             * order_id : 1191
             * total : 138.00
             * commission : 5.00
             * desc : 邀请会员[test02]下单(订单号2017031471015657、商品ID463),获得5元佣金(分销佣金)
             * addtime : 2017-03-14 11:03:33
             */

            private String id;
            private String mid;
            private String username;
            private String ivt_mid;
            private String ivt_username;
            private String order_id;
            private String total;
            private String commission;
            private String desc;
            private String addtime;

            public String getWhereFrom() {
                return whereFrom;
            }

            public void setWhereFrom(String whereFrom) {
                this.whereFrom = whereFrom;
            }

            private String whereFrom;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getIvt_mid() {
                return ivt_mid;
            }

            public void setIvt_mid(String ivt_mid) {
                this.ivt_mid = ivt_mid;
            }

            public String getIvt_username() {
                return ivt_username;
            }

            public void setIvt_username(String ivt_username) {
                this.ivt_username = ivt_username;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getCommission() {
                return commission;
            }

            public void setCommission(String commission) {
                this.commission = commission;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }
        }
    }
}
